@extends("User.Index.articleBase")

@section("right")
    <style>
        #con img{
            width:90%;overflow:hidden;
        }
    </style>
    <div class="col-sm-8">
        <div class="panel panel-default">
            <div class="panel-body">
                @if($article!=null)
                    @foreach($article as $u)
                        <h2>{{$u->article_title}}</h2>
                        <br>
                        <h3><small>{{$u->article_update_time}} | <span class="glyphicon glyphicon-align-left" aria-hidden="true"></span> {{$u->class_name}}
                                |<span class="glyphicon glyphicon-comment" aria-hidden="true"></span> {{$u->article_click}}</small></h3>
                        <br><br>
                        <div class="col-sm-12" id="con">
                            <?php echo $u->article_detail?>
                        </div>
                    @endforeach
                @endif
            </div>
        </div>
    </div>
@stop